import useSettingsStore from '@/store/modules/settings'

export function useSettings() {
  const settingsStore = useSettingsStore()
  const isExpanded = computed(() => settingsStore.isExpanded)
  const isDark = computed(() => settingsStore.isDark)
  const theme = computed(() => settingsStore.theme)

  return {
    settingsStore,
    isExpanded,
    isDark,
    theme
  }
}
